package com.ibm.sc.osp.sample.job.task;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import org.springframework.transaction.annotation.Transactional;

/**
 * 定时任务
 */
public class SyncJob implements SimpleJob {
    
    @Transactional
    //开启Transactional权限
    @Override
    public void execute(final ShardingContext shardingContext) {
        //定时任务具体执行代码
    }
}
